﻿<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/List.Master" CodeBehind="Order_List.aspx.cs" Inherits="BBPA.Admin.Store.Group_Buy.Order_List" %>

<%@ MasterType VirtualPath="/List.Master" %>
<asp:Content ID="Content4" ContentPlaceHolderID="head" runat="server">
    <script>
        bodyWidth = 550;
    </script>
</asp:Content>
<asp:Content ID="Content1" ContentPlaceHolderID="cph_th" runat="server">
    <th>订单编号</th>
    <th>创建日期</th>
    <th>状态</th>
    <th>发货日期</th>

</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cph_td" runat="server">
    <td data-row-title="<%#Eval("Number") %>" data-row-href-right="/sys/Orders/Info.aspx?id=<%#Eval("id") %>"><%#Eval("Number") %></td>
    <td><%#Eval("Dateandtime") %></td>
    <td><%#EnumHelper.GetEnumDescription((EnumHelper.OrdersState)DataTypePlus.requestInt( Eval("State"))) %></td>
    <td><%#(EnumHelper.OrdersState)DataTypePlus.requestInt( Eval("State"))==EnumHelper.OrdersState.HasSend?(Convert.ToDateTime( Eval("DateandtimeSend"))).ToShortDateString():""%></td>

</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="cph_listControls" runat="server">
    <a href="###" href-right="/Store/Group_Buy/history_form.aspx?id=<%#Eval("id") %>" title="查看" target="_blank">查看</a>
</asp:Content>